﻿<%@ Page Language="C#" MasterPageFile="../MasterPages/Normal.Master" AutoEventWireup="true"
    CodeBehind="Create.aspx.cs" Inherits="zdzh.zdmgr.UIL.dingdanp.Create" %>

<asp:Content ID="ContentArea" ContentPlaceHolderID="MainContent" runat="server">
        <style type="text/css">
            .InfoContent li
            {
                min-height: 10px;
                line-height: 20px;
                float: left;
                margin:5px 0 5px 0;
            }
        </style>
        <div id="ScorllArea">
            <div class="InfoArea" style="min-width: 800px;">
                <div class="InfoHeader">定单</div>
                <div class="InfoContent">
                    <img src="../Images/ModuleTitle/huiqianxieyipCreate.png" alt="ModuleTitle"/>
                    <div style="height: 20px;">
                        <img src="../Images/ModuleTitle/TitleLine.png" alt="TitleLine"/></div>
                        
		            <table class="TableData">
                        <tr class="TableHeader"> <td colspan="4">认购单</td></tr>
                        <tr>
                            <td colspan="2">
                                <ul>
                                    <li style="width: 70px;">认购日期：</li><li><asp:TextBox ID="TxtDutDate" runat="server" Width="152px" ></asp:TextBox></li>
                                </ul>
                            </td>
                            <td colspan="2">
                                <ul>
                                	<li style="width: 70px;">编号：</li><li><asp:TextBox ID="TxtNumber" runat="server" Width="152px" ></asp:TextBox></li>
                                </ul>
                            </td>
                        </tr>
                        <tr class="TableHeader"><td colspan="4">认购方</td></tr>
                        <tr>
                            <td colspan="4">
                                <ul>
                                    <li style="width: 70px;">姓名：</li><li><asp:TextBox ID="TxtName" runat="server" Width="92px" ></asp:TextBox></li>
                                    <li style="width: 20px; text-indent:5px;"></li>
                                    <li style="width: 70px;">身份证：</li><li><asp:TextBox ID="TxtIDNumber" runat="server" Width="192px" ></asp:TextBox></li>
                                    <li style="width: 20px; text-indent:5px;"></li>
                                    <li style="width: 70px;">电话：</li><li><asp:TextBox ID="TxtPhone" runat="server" Width="122px" ></asp:TextBox></li>
                                    <li style="width: 20px; text-indent:5px;"></li>
                                </ul>
                            </td>
                        </tr>

                        <tr class="TableHeader">
                            <td colspan="4">物业</td>
                        </tr>
                        <tr>
                            <td>
                                <ul>
                                    <li style="width: 70px;">房源：</li><li><asp:TextBox ID="TxtBuild" runat="server" Width="152px" ></asp:TextBox></li>
                                </ul>
                            </td>
                            <td>
                                <ul>
                                    <li style="width: 70px;">面积：</li><li><asp:Label ID="LblArea" runat="server" Text="---" Width="152px"></asp:Label></li>
                                </ul>
                            </td>
                            <td>
                                <ul>
                                    <li style="width: 70px;">单价：</li><li><asp:TextBox ID="TxtDanjia" runat="server" Width="152px" AutoPostBack="True" 
                                    ontextchanged="TxtDanjia_TextChanged" ></asp:TextBox></li>
                                </ul>
                            </td>
                            <td>
                                <ul>
                                    <li style="width: 70px;">总价：</li><li><asp:TextBox ID="TxtZongjia" runat="server" Width="152px" ></asp:TextBox></li>
                                </ul>
                            </td>
                        </tr>
                        <tr class="TableHeader">
                            <td colspan="4">付款方式：
                                <asp:DropDownList ID="DdlPaymentMode" runat="server" onselectedindexchanged="DdlPaymentMode_SelectedIndexChanged" AutoPostBack="True">
                                    <asp:ListItem>全款</asp:ListItem>
                                    <asp:ListItem>分期</asp:ListItem>
                                    <asp:ListItem>按揭</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4">
                                <asp:Panel ID="PnlDingjin" runat="server">
                                    <ul>
                                        <li style="width: 90px;">定金：</li>
                                        <li><asp:TextBox ID="TxtDingjin" runat="server" Width="152px" ></asp:TextBox></li>
                                    </ul>
                                </asp:Panel>
                                <asp:Panel ID="PnlFenqi" runat="server">
                                    <ul>
                                        <li style="width: 90px;">分期（月）：</li>
                                        <li><asp:TextBox ID="TxtFenqi" runat="server" Width="152px" AutoPostBack="True" 
                                                ontextchanged="TxtFenqi_TextChanged" ></asp:TextBox></li>
                                        <li style="width: 20px; text-indent:5px;"></li>
                                        <li><asp:Label ID="LblHuankuan" runat="server" Width="152px" ></asp:Label></li>
                                    </ul>
                                </asp:Panel>
                                <asp:Panel ID="PnlDaikuan" runat="server">
                                    <ul>
                                        <li style="width: 90px;">首付：</li>
                                        <li><asp:TextBox ID="TxtShoufu" runat="server" Width="152px" AutoPostBack="True" 
                                                ontextchanged="TxtShoufu_TextChanged" ></asp:TextBox></li>
                                        <li style="width: 20px; text-indent:5px;"></li>
                                        <li style="width: 90px;">贷款额：</li>
                                        <li><asp:TextBox ID="TxtDaikuan" runat="server" Width="152px" AutoPostBack="True" 
                                                ontextchanged="TxtDaikuan_TextChanged" ></asp:TextBox></li>
                                        <li style="width: 20px; text-indent:5px;"></li>
                                    </ul>
                                </asp:Panel>
                                <ul>
                                    <li style="width: 90px;">补款日期：</li>
                                    <li><asp:TextBox ID="TxtBukuanDate" runat="server" Width="152px" ></asp:TextBox></li>
                                    <li><asp:ImageButton ID="BtnCalendar" runat="server" ImageUrl="~/Images/BtnCalendar.png" onclick="BtnCalendar_Click" /></li>
                                </ul>
                                <div class="InfoAreaDate">
                                    <asp:Calendar ID="CalBukuan" runat="server" BackColor="White" 
                                        onselectionchanged="CalBukuan_SelectionChanged" Visible="False"></asp:Calendar>
                                </div>
                            </td>
                        </tr>
                        <tr class="TableHeader"><td colspan="4">其他：</td></tr>
                        <tr>
                            <td colspan="4">
                                <ul>
                                    <li style="width: 70px;">销售员：</li>
                                    <li>
                                        <asp:DropDownList ID="DdlSeller" runat="server">
                                        </asp:DropDownList>
                                    </li>
                                    <li style="width: 170px; text-indent:5px;"></li>
                                    <li style="width: 70px;">备注：</li>
                                    <li><asp:TextBox ID="TxtBeizhu" runat="server" Width="547px" ></asp:TextBox></li>
                                    <li style="width: 20px; text-indent:5px;"></li>
                                </ul>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div id="ScorllFooter"></div>
        </div>
        <div id="Footer">
            <div class="ButtonArea">
                <asp:Button ID="BtnSave" runat="server" Text="保存" CssClass="Button"  onclick="BtnSave_Click" />
                <input class="Button" onclick="location='../fangyuanp/Default.aspx'" type="button" value="取消" />
            </div>
        </div>

</asp:Content>
